package com.itzz.spring_zhoneHeng.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
public class Member {
    /*自增   添加注解自增  给 */
    @TableId(value = "id",type = IdType.AUTO)
    Integer mbid;//主键id
    @TableField("member")
    String members;//会员名
    @TableField(exist = false)  // 忽略该字段
    private String username;
    @TableField(exist = false)  // 忽略该字段
    private String label;

}
